const GLOBAL = 'GLOBAL'

export const state = () => {
	return {
		isLogin: false,
		userinfo: {
			avatarUrl: "",
			city: "",
			country: "",
			gender: 0,
			language: "",
			nickName: "",
			province: ""
		},
		list: []
	}
}

export const actions = {
	
}

export const mutations = {
	setLoginStatus(state, payload) {
		state.isLogin = payload
	},
	setUserinfo(state, payload) {
		state.userinfo = payload
	},
	setList(state, payload) {
		state.list = payload
	}
}
